<!DOCTYPE html>
<html lang="en">
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/login" method="post">
    <input placeholder="请输入姓名" name="user.UserName" />
    <input placeholder="请输入密码" name="user.password" />
    <submit >提交</submit>
</form>
<h1 th:text="${name}">ABC</h1>
</body>
</html>